package JAVACORE_TRAINING.ADVANCED.MULTITHREADING.THREAD_SYNCHRONIZATION.hieudm;

public class Data {
	private int a;
	private int b;

	/**
	 * @return the a
	 */
	public int getA() {
		return a;
	}

	/**
	 * @param a
	 *            the a to set
	 */
	public void setA(int a) {
		this.a = a;
	}

	/**
	 * @return the b
	 */
	public int getB() {
		return b;
	}

	/**
	 * @param b
	 *            the b to set
	 */
	public void setB(int b) {
		this.b = b;
	}
	
	public int sum(){
		return a+b;
	}

}
